<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 16-11-7
  Time: 下午2:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/add" method="post" enctype="multipart/form-data">
    姓名<input type="text" name="user.name" ><br>
    性别<input type="number" name="user.sex" ><br>
    person.id<input type="number" name="user.person.id"><br>
    <%--电话<input type="date" name="user.birthday" ><br>--%>
    <input type="checkbox" name="user.tags" value="1">1
    <input type="checkbox" name="user.tags" value="2">2
    <input type="checkbox" name="user.tags" value="3">3
    <%--id<input type="text" name="id" ><br>--%>
    <%--pwd<input type="text" name="pwd" ><br>--%>
    <%--value<input type="text" value="value" ><br>--%>
    <%--地址<input type="text" name="address" ><br>--%>
    <input type="file" name="user.photo.img">

<input type="submit" value="提交">
</form>
</body>
</html>
